<template>
<div>vmodel</div>
  <input class="c" :value="bar" @input="$emit('update:bar',$event.currentTarget.value)"/>
</template>
<script>
import { defineComponent } from "vue";

export default defineComponent({
  props:{
    bar:String
  }
})
</script>
<style scoped>
.c{
  border: 1px solid #000;
}
</style>